<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <script>
        var fs = prompt('请输入分数');
        if(fs < 60){
            document.write('E')
        }else if(fs >= 60 && fs < 70){
            document.write('D')
        }else if(fs >= 70 && fs < 80){
            document.write('C')
        }else if(fs >= 80 && fs < 90){
            document.write('B')
        }else if(fs >= 90 && fs <= 100){
            document.write('A')
        }else {
            document.write('分数输入有误')
        };
    </script>
</head>
<body>
    
</body>
</html>